package com.pox.guli.service.edu.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.pox.guli.service.edu.entity.Video;

/**
 * <p>
 * 课程视频 服务类
 * </p>
 *
 * @author pox21s
 * @since 2022-06-01
 */
public interface VideoService extends IService<Video> {

    /**
     * 列表删除video视频
     * @param id 视频id
     */
    void removeMediaVideoById(String id);


    /**
     * 删除视频同时移除章节视频
     * @param chapterId 章节id
     */
    void removeMediaVideoByChapterId(String chapterId);

    /**
     * 删除视频同时移除课程信息
     * @param courseId 课程id
     */
    void removeMediaVideoByCourseId(String courseId);
}
